From: Colin Walters Date: Mon, 29 Sep 2025 12:21:53 +0000 (+0200) Subject: rust: Fix Rust 1.89 lifetime lint X-Git-Tag: archive/raspbian/2025.7-2+rpi1^2^2~6^2^2~9^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1fb5afa0fef591029b1176b36937592d03b1e9ae;p=ostree.git rust: Fix Rust 1.89 lifetime lint --- diff --git a/rust-bindings/src/repo.rs b/rust-bindings/src/repo.rs index 4ced8ed7..b689daa2 100644 --- a/rust-bindings/src/repo.rs +++ b/rust-bindings/src/repo.rs @@ -132,7 +132,7 @@ impl Repo { pub fn auto_transaction>( &self, cancellable: Option<&P>, - ) -> Result { + ) -> Result, glib::Error> { let _ = self.prepare_transaction(cancellable)?; Ok(TransactionGuard { repo: Some(self) }) }